package com.lifo.user.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2018/6/27 0027.
 */
@Controller
public class PersonCenterController {

    @RequestMapping(value="/user/center")
    public String goPersonCenter(HttpServletRequest request, Model model){
        model.addAttribute("mobile",request.getSession().getAttribute("mobile"));
        return "/center/order";
    }
}
